package com.wxq.demo.db2.dao;

import com.wxq.demo.bean.Book;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Qualifier("db2SqlSessionTemplate")
public interface Db2Dao {
    @Select("select * from book")
    List<Book> getAllBooks();
}
